<?php
$objForm = new Formulario();
$objForm->addInput("nome", "texto", "valor aqui", "classe_css", "onClick:javascript:alert('oi');");
$objForm->addInput("email", "texto", "valor aqui", "classe_css", "onClick:javascript:alert('oi');");
$objForm->show();
?>